<% if params[:_redirect_to] %>
    <%= hidden_field_tag :_redirect_to, params[:_redirect_to] %>
<% end -%>
<% if @block.respond_to?(:lock_version) %>
    <%= f.hidden_field :lock_version, :value => (@other_version ? @other_version.lock_version : @block.lock_version) %>
<% end -%>
<% if @block.class.connectable? %>
    <%= f.hidden_field :connect_to_page_id %>
    <%= f.hidden_field :connect_to_container %>
<% end -%>
<% if @parent %>
    <%= hidden_field_tag :parent, @parent.id %>
<% end %>